package com.usian.task;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class BrithdayTaskJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        //从数据库查询是否是当天的生日
        // 给用户发送福利或者祝福
        System.out.println("祝你生日快乐，发送100减50的优惠券！！");
    }
}
